-- GENERATED SPELL FOR [Bull Elekk] --


function spell0_18289(pUnit, Event) --@Trample,Self--
pUnit:FullCastSpellOnTarget(15550,pUnit)
pUnit:RegisterEvent('Sorts_18289', 658, 1)
end

function Sorts_18289(pUnit, Event)
local choix_sorts_18289 = math.random(0, 0)
if choix_sorts_18289 == 0 then
pUnit:RegisterEvent('spell0_18289', 1, 1)
end
end

function mob18289_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18289', math.random(1500, 3000), 1)
end

function mob18289_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18289_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18289_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18289, 1, 'mob18289_Action')
RegisterUnitEvent(18289, 2, 'mob18289_Leave')
RegisterUnitEvent(18289, 3, 'mob18289_Kill')
RegisterUnitEvent(18289, 4, 'mob18289_Die')
